package com.hackordie.commons.hardware.components;

import com.hackordie.constants.EComponentsType;

public class PowerSupply extends AComponent {

    private int generatedEnergy;
    
    public PowerSupply(String componentName, int generatedEnergy) {
        super(componentName, EComponentsType.PowerSupply, 0);  //la fuente de alimentacion no necesita energia para encenderse
        
        this.generatedEnergy = generatedEnergy;
    }

    public int getGeneratedEnergy() {
        return generatedEnergy;
    }
    
    
}
